var express = require('express')
var router = express.Router()
var houseController = require('../controller/houseController')

// 渲染
router.get('/lister', houseController.list)
// 添加
router.post('/create', houseController.create)
// 删除
router.get('/delect', houseController.delectlist)
// 修改
router.get('/getxiuga', houseController.getxg)
// 搜索
router.post('/getsous', houseController.getss)

module.exports = router

